<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>模板字符串</title>
</head>
<body>
    <script>
        const name = "cqq";
        const str =  `12345${name}`;
        console.log(str);

        function foo(...args)
        {
            
        }
        
        const name2 = "cq";
        const age = 18;
        const height = 1.90;
        foo`my name is ${name2},my age is ${age},my height is ${height}`;
    </script>
</body>
</html>